/*
 * @Author: your name
 * @Date: 2021-05-31 16:09:27
 * @LastEditTime: 2021-05-31 16:15:03
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \egg-demo\app\routes\users.js
 */
'use strict';

module.exports = app => {
  const { router, controller } =  app;
  const jwt = app.middleware.jwt( {secret: app.config.jwt.secret} );

  router.post('/api/user/add', controller.users.create);
}